github.com/gotd/td/telegram.Client.updateHandler (field)
11 uses
github.com/gotd/td/telegram (current package)
client.go#L222: updateHandler UpdateHandler // immutable
client.go#L256: updateHandler: opt.UpdateHandler,
handle_updates.go#L30: return c.updateHandler.Handle(c.ctx, u)
handle_updates.go#L33: return c.updateHandler.Handle(c.ctx, u)
handle_updates.go#L36: return c.updateHandler.Handle(c.ctx, u)
handle_updates.go#L38: return c.updateHandler.Handle(c.ctx, upconv.ShortMessage(u))
handle_updates.go#L40: return c.updateHandler.Handle(c.ctx, upconv.ShortChatMessage(u))
handle_updates.go#L42: return c.updateHandler.Handle(c.ctx, upconv.ShortSentMessage(u))
handle_updates.go#L44: return c.updateHandler.Handle(c.ctx, u)
session.go#L241: if c.primarySessions.Inc() == 1 || c.noUpdatesMode || c.updateHandler == nil {
session.go#L250: if err := c.updateHandler.Handle(ctx, &tg.UpdatesTooLong{}); err != nil {
![]() |
The pages are generated with Golds v0.8.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |